package com.wj.rpsm.user.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

/**
 * @author WeiJin
 * @version 1.0
 */
@Data
@ApiModel("关注信息")
public class Attention {
    @ApiModelProperty("关注id")
    private Integer attention_id;
    @ApiModelProperty("发起关注的用户id")
    private Integer from_id;
    @ApiModelProperty("被关注的用户id")
    private Integer to_id;
    @ApiModelProperty("关注时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate attend_date;
    @ApiModelProperty("是否关注 1已关注 0未关注")
    private Integer isAttend;

}
